get($Field); } } return $UserData[$UserId][$UserField]; } # ----- MAIN ----------------------------------------------------------------- if (isset($H_Error)) { print "

".$H_Error."

"; } $PageTitle = "Manage Subscribers"; PageTitle($PageTitle); ?> [ "ValueFunction" => function ($UserId, $UserField) { $UserName = getUserInfo($UserId, $UserField); return "".$UserName.""; }, ], "EMail" => [ "Heading" => "E-Mail", "AllowHTML" => true, "ValueFunction" => function ($UserId, $UserField) { $SafeEmail = defaulthtmlentities(getUserInfo($UserId, $UserField)); return "".$SafeEmail.""; }, ], "RealName" => [ "Heading" => "Full Name", "ValueFunction" => "getUserInfo", ], ]; $ListUI = new ItemListUI($SubscriberFieldDefinitions); $ListUI->heading($PageTitle); $RemoveLinkFunc = function ($Item) { # link for removing subscribers return "index.php?P=P_Blog_ManageSubscribers&ID=".$Item; }; $ListUI->addActionButton("Remove", $RemoveLinkFunc); $ListUI->display($H_Subscribers);